package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.Home;

public interface HomeService {

	List<Home> findList(String offset, String limit, String type);

	int saveHome(Home home);

	String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	String uploadClassifyVideo2WSCDN(Part uploadFile) throws IOException, Exception;

	Home findHomeOne(int id);

	int alertHomeSave(Home home);

	int deleteHome(int id);

	int findCount(String type);


}
